package cn.iocoder.yudao.module.system.controller.admin.user;

import cn.iocoder.yudao.framework.excel.core.function.ExcelColumnSelectFunction;
import cn.iocoder.yudao.framework.ip.core.utils.AreaUtils;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * 区域下拉框数据源的 {@link ExcelColumnSelectFunction} 实现类
 *
 * @author HUIHUI
 */
@Service
public class YmAreaExcelFunction implements ExcelColumnSelectFunction {

    public static final String NAME = "getYmAreaNameList"; // 防止和别的模块重名

    @Override
    public String getName() {
        return NAME;
    }

    @Override
    public List<String> getOptions() {
        List<String> strings = new ArrayList<>();
        strings.add("测试1");
        strings.add("测试2");
        return strings;
    }

}